package org.yu.register;

import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.registries.RegistryObject;
import org.yu.Yu;
import org.yu.register.mobeffect.AwakenEffect;
import org.yu.register.mobeffect.InvincibleEffect;
import org.yu.register.mobeffect.VulnerabilityEffect;

public class MobEffectRegister {
    public static final RegistryObject<AwakenEffect> awakenEffect=Yu.LAZYREGISTRY.mobEffect("awaken",AwakenEffect::new)
            .name("zh_cn","觉醒")
            .build();
    public static final RegistryObject<VulnerabilityEffect> vulnerability=Yu.LAZYREGISTRY.mobEffect("vulnerability", VulnerabilityEffect::new)
            .name("zh_cn","击破")
            .category(MobEffectCategory.HARMFUL)
            .color(0xffffe)
            .build();
    public static final RegistryObject<InvincibleEffect> invincible=Yu.LAZYREGISTRY.mobEffect("invincible", InvincibleEffect::new)
            .name("zh_cn","无敌")
            .category(MobEffectCategory.BENEFICIAL)
            .color(0xfaafe)
            .build();
 public static void init(){

 }
}
